﻿using YawetagLib.System.Data;
using YawetagLib.System.Data.L2Sql;

namespace YawetagDemo.Framework.Impl.Data
{
    internal abstract class DbModelBaseRepository<T> : Repository<T> where T : class
    {
        protected DbModelBaseRepository(IDataContext dataContext) 
            : base(dataContext)
        {
        }

        protected new DbModelDataContext DataContext 
        {
            get { return (DbModelDataContext)base.DataContext.Current; }
        }
    }
}
